package com.westar.base.pojo;

import com.westar.base.model.UserInfo;
import io.swagger.annotations.ApiModel;

import java.util.Date;
import java.util.Map;

@ApiModel(value="userAuth", description="用户信息")
public class UserAuth {

    //登录人员
    private UserInfo userInfo;
    //登录人员的cookies
    private Map<String,String> loginCookie;
    //cookie失效时间
    private Date expressDate;

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Map<String,String> getLoginCookie() {
        return loginCookie;
    }

    public void setLoginCookie(Map<String,String> loginCookie) {
        this.loginCookie = loginCookie;
    }

    public Date getExpressDate() {
        return expressDate;
    }

    public void setExpressDate(Date expressDate) {
        this.expressDate = expressDate;
    }
}
